package com.yiyuan.app.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.guaike.core.mybatis.entity.BasePO;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 挑战榜配置表
 * </p>
 *
 * @author system
 * @since 2025-03-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("m_conf_battle")
public class MConfBattlePO extends BasePO {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 榜单编号
     */
    private String rankCode;
    /**
     * 榜单名称
     */
    private String rankName;
    /**
     * 榜单类型(字典码:50011)
     */
    private String rankType;
    /**
     * 机器类型(字典码:50002)
     */
    private Integer deviceType;
    /**
     * 状态(字典码:10002)
     */
    private Integer status;
    /**
     * 榜单说明ID
     */
    private Long descriptionId;
    /**
     * 配置状态(字典码:50022)
     */
    private Integer configStatus;
    /**
     * 渠道编码
     */
    private String tenantId;
    /**
     * 逻辑删除（非0:已删除, 0:未删除）
     */
    @TableLogic(value = "0", delval = "now()")
    private Long deleted;



}
